<?php
namespace QrCode;
include 'phpqrcode.php';
class QR
{
    public function Create($data){
       $code= new \QRcode();
       return $code::png($data);//生成一个png格式的二维码
    }
}